<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Update MyKnot Profile</title>
    </head>
    <body>
        <div class="body">
            <h3>Update Your Bio</h3>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${profile}">
            <div class="errors">
                <g:renderErrors bean="${profile}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="update" method="post" >
                <g:hiddenField name="id" value="${profile?.id}" />
                <g:render template="form" model="[profile:profile]" />
                <div class="buttons">
                    <span class="button"><input class="save" type="submit" value="Update My Profile" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
